package com.kl.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2021-10-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("detailed")
@ApiModel(value="Detailed对象", description="")
public class Detailed extends Model<Detailed> implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "明细表id")
    @TableId(value = "detailed_id", type = IdType.AUTO)
    private Long detailedId;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "运单id")
    private Long waybillId;

    @ApiModelProperty(value = "物品名称")
    private String cargoName;

    @ApiModelProperty(value = "物品重量")
    private Long cargoWeight;

    @ApiModelProperty(value = "货物体积")
    private Double cargoVolume;

    @ApiModelProperty(value = "货物数量(单位)")
    private String cargoNumber;

    @ApiModelProperty(value = "商品单价价格")
    private BigDecimal cargoPrice;

    @ApiModelProperty(value = "总价")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "创建时间")
    private Date creatTime;

    @ApiModelProperty(value = "同城订单(试验字段可忽略)")
    private Long cityOrderId;


}
